
Ext.namespace('GBIF.GeoSpatial');

if(GBIF.GeoSpatial.GeoSpatialPortal){
  Ext.apply(GBIF.GeoSpatial.GeoSpatialPortal.prototype, {
    			txtFile:'File'
			,	txtView:'View'
			,	txtTools:'Tools'
			,	txtToolBar:'Toolbar'
			,	txtAdd:'Add'
			,	txtHelp:'Help'
			,	txtUserGuide:'User Guide'
			,	txtReleaseNotes:'Release Notes'
			,	txtLicense:'License'
			,	txtAboutGbifGeoSpatial:'About GPAAMP Viewer'
			,	txtExport:'Export'
			,	txtImages:'Composite Image'
			,	txtPrint:'Print Map...'
			,	txtImport:'Import Custom Layers...'
			,	txtFullscreen:'Fullscreen'
			,	txtGrid:'Grid'
			,	txtOverviewMap:'Overview Map'
			,	txtScaleLegend:'Scale Legend'
			,	txtTitle:'Active Click'
			,	txtText:'Embed URL'
   });
}

if (GBIF.GeoSpatial.AvailableLayersTree) {
		Ext.apply(GBIF.GeoSpatial.AvailableLayersTree.prototype, {
				title: 'Available Layers'
			,	txtErrorMsg:'Load Exception Please Try Again.'	
			,	txtError:'Error'	
		});
}
if(GBIF.GeoSpatial.MapComponent){
	Ext.apply(GBIF.GeoSpatial.MapComponent.prototype, {
			title:'Layer Preview GBIF GeoSpatial Portal'
	})
}

if(GBIF.GeoSpatial.LayersTree){
		Ext.apply(GBIF.GeoSpatial.LayersTree.prototype, {
					title:'Layers'
				,	txtOpacity:'Opacity: '
				,	txtRemoveTooTip:'Remove Layer'
				,	txtAddLayer:'Add Layer'
				,	txtNewFolder:'New Folder'
				,	txtSaveConfig:'Save Tree Config'
				,	txtAddFolder:'Add Folder'
				,	txtRemoveLayer:'Rename Layer/Folder'
				,	txtDeletLayer:'Delete Layer/Folder'
				,	txtRemoveLayer:'Remove Layer'
				,	txtExport:'Export'
				,	txtImages:'Composite Image'	
		});
}

if(GBIF.GeoSpatial.Console){
	Ext.apply(GBIF.GeoSpatial.Console.prototype, {
			title:'Console'
	})
}


if(GBIF.GeoSpatial.LegendPanel){
	Ext.apply(GBIF.GeoSpatial.LegendPanel.prototype, {
			title:'Legend Panel'
	})
}

if(GBIF.GeoSpatial.FeatureDataGrid){
	Ext.apply(GBIF.GeoSpatial.FeatureDataGrid.prototype, {
			title:'WFS-T Grid'
	})
}

if(GBIF.GeoSpatial.GeoRssKmlDataPanel){
	Ext.apply(GBIF.GeoSpatial.GeoRssKmlDataPanel.prototype, {
			title:'GeoRss/Kml'
	})
}

